package com.whu.exam.modules.qu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("el_qu_repo")
public class QuRepo extends Model<QuRepo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)

    private String id;

    /**
     * 试题
     */
    @TableField("qu_id")
    @ApiModelProperty(value = "试题", required=true)
    private String quId;

    /**
     * 归属题库
     */
    @TableField("repo_id")
    @ApiModelProperty(value = "归属题库", required=true)
    private String repoId;

    /**
     * 题目类型
     */
    @TableField("qu_type")
    @ApiModelProperty(value = "题目类型", required=true)
    private Integer quType;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序", required=true)
    private Integer sort;

}
